package com.example.jectpackdemo.bean;

import androidx.databinding.ObservableField;

public class UserInfo {
    private ObservableField<String>username;
    private ObservableField<String>password;
    private ObservableField<String>type=new ObservableField<>();

    public ObservableField<String> getType() {
        return type;
    }

    public void setType(ObservableField<String> type) {
        this.type = type;
    }

    public UserInfo(String username, String password) {
        this.username = new ObservableField<>(username);
        this.password =new ObservableField<>(password) ;
    }

    public ObservableField<String> getUsername() {
        return username;
    }

    public void setUsername(ObservableField<String> username) {
        this.username = username;
    }

    public ObservableField<String> getPassword() {
        return password;
    }

    public void setPassword(ObservableField<String> password) {
        this.password = password;
    }
}
